<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="net.butfly.bus.client.Client"%>
<%@ page import="net.butfly.bus.context.Constants.InternalTX"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BUS Sample Page</title>
<%!Client client = new Client();%>
</head>
<body>
	<div style="margin: 2em; padding: 1em;">
		<p>
			the server status: <span style="font-style: italic; color: red;"><%=client.invoke(InternalTX.PING)%></span>
		</p>
		<h1>
			the server said: <span style="font-style: italic; color: red;"><%=client.invoke("SPL_001", "Hello, World!")%></span>
		</h1>
	</div>
</body>
</html>